package com.wkck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wkck.VO.AdminLoginVo;
import com.wkck.domain.Admin;
import com.wkck.dto.AdminEditPowerDto;
import com.wkck.dto.PasswordDto;

public interface AdminService extends IService<Admin> {

    /**
     * 管理员登录
     * @param adminDTO
     * @return
     */
    Admin adminLogin(Admin adminDTO);

    Boolean validPassword(PasswordDto passwordDto);

    AdminLoginVo edit(Admin adminDto);

    Boolean editPower(AdminEditPowerDto adminEditPowerDto);
}
